package com.hngy.xpq.chatdemo.bean;

public class Chat {

    Long id;

    String image;

    String notes;

    String next;

    String time;

    int state;

    int receive;

    public Long getId() {
        return id;
    }

    public String getImage() {
        return image;
    }

    public String getNotes() {
        return notes;
    }

    public String getNext() {
        return next;
    }

    public String getTime() {
        return time;
    }

    public int getState() {
        return state;
    }

    public int getReceive() {
        return receive;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public void setNext(String next) {
        this.next = next;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public void setState(int state) {
        this.state = state;
    }

    public void setReceive(int receive) {
        this.receive = receive;
    }

    @Override
    public String toString() {
        return "Chat{" +
                "id=" + id +
                ", image='" + image + '\'' +
                ", notes='" + notes + '\'' +
                ", next='" + next + '\'' +
                ", time='" + time + '\'' +
                ", state=" + state +
                ", receive=" + receive +
                '}';
    }

    public Chat(Long id, String image, String notes, String next, String time) {
        this.id = id;
        this.image = image;
        this.notes = notes;
        this.next = next;
        this.time = time;
    }
}
